

package jetbrains.buildServer.server.graphql.model.mutation.agentPool;

import java.util.List;
import jetbrains.buildServer.server.graphql.model.CloudImage;
import jetbrains.buildServer.server.graphql.model.agentPool.AgentPool;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class BulkMoveCloudImagesToAgentPoolPayload {
  @NotNull
  private final List<CloudImage> myCloudImages;

  @Nullable
  private final AgentPool myTargetAgentPool;

  public BulkMoveCloudImagesToAgentPoolPayload(@NotNull List<CloudImage> cloudImages, @Nullable AgentPool targetAgentPool) {
    myCloudImages = cloudImages;
    myTargetAgentPool = targetAgentPool;
  }

  @NotNull
  public List<CloudImage> getCloudImages() {
    return myCloudImages;
  }

  @Nullable
  public AgentPool getTargetAgentPool() {
    return myTargetAgentPool;
  }
}